package com.example.springdemo.demos.web;

import com.alibaba.fastjson.JSONObject;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController("product")
public class ProductController {

    @RequestMapping("jisuan")
    JSONObject jisuan(@RequestParam("type") String type) {
        JSONObject jisuan = new JSONObject();
        return jisuan;

    }
}
